import { request } from '@/lib/js/http'

export default {
  // getUserInfo (data) {
  //   return request.get(`/api/v9/annualbill2021/user/info`, data)
  // }

  /**
 * @description 获取用户信息
 * @returns
 */
  getUserInfo () {
    return request.get(request.authUrl('/api/v9/annualbill2021/user/info'))
  },

  postUserInfo (data) {
    return request.post(request.authUrl('/api/v9/annualbill2021/user/wish/create'), data)
  },

  /**
   * @description 获取亲密度信息
   */
  getImtimacyList () {
    return request.get(request.authUrl('/api/v9/annualbill2021/user/intimacy'))
  }
}
